﻿// -----------------------------------------------------------------------
// <copyright file="PhotoController.cs" company="EPAM Systems">
////Copyright (c) EPAM Systems, 2013. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------

using MBOP.Core.DTO;

namespace MBOP.Website.Controllers
{
	#region Usings

	using System;
	using System.Collections.Generic;
	using System.Linq;
	using System.Web.Mvc;

	#endregion

	/// <summary>
	/// Provides methods that respond to HTTP request that are made to idea board part of the application.
	/// </summary>
	public class PhotoController : Controller
	{
		#region Constants

		/// <summary>
		/// Represents list action's name.
		/// </summary>
		private const string PHOTO_ACTION_LIST = "List";

		#endregion

		#region Constructors

		/// <summary>
		/// Initializes a new instance of the <see cref="PhotoController"/> class.
		/// </summary>
		public PhotoController()
		{
		}

		#endregion

		#region Actions

		/// <summary>
		/// Processes getting of photo gallery.
		/// </summary>
		/// <param name="page">The page of the photo gallery.</param>
		/// <returns>The view result, which encapsulates information of the result processing.</returns>
		public ViewResult List(int page)
		{
			return this.View(PHOTO_ACTION_LIST);
		}

		#endregion
	}
}
